home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / fm40.zip / FMKEY.HLP < prev    next >
Text File  |  1991-10-06  |  4KB  |  77 lines

  1. *********************** Function Key Re-definition Help **********************
  2.  
  3. This special form allows you to change how function keys are interpreted when
  4. executing your form.  The only function key that can't be altered is F1, which
  5. is always used for help.
  6.  
  7. There are two sides to this form.  The left side is used for function key
  8. description information.  When the F1 help button is pressed during form
  9. execution, this information is displayed in the help pop-up window.
  10.  
  11. The right side tells Form Master what to do when the key is pressed.  The
  12. following table shows commands which can be defined for function keys 2
  13. through 10.
  14.  
  15. Default
  16.  Key    Help description for key     Command
  17. -----   --------------------------   --------
  18.   2     Reset form (Start over)      RST
  19.   3     Go to next/prev page         PAG
  20.   4     Perform field look-ups       LUP
  21.   5     Temporarily go to DOS        DOS
  22.   6     Perform math operations      MTH
  23.   7     Load fields from a file      LOD
  24.   8     Save fields to a file        SAV
  25.   9     Print form to a file         PRF
  26.  10     Print form to your printer   PRP
  27.  
  28. Additional commands:
  29.  
  30.   -    TYP xxxx   List the file "xxxx" one page at a time
  31.   -    DOS xxxx   Perform the DOS command "xxxx"
  32.           (i.e. to see directory of forms use:  "DOS DIR *.frm")
  33.   -    EXE xxxx   Run the program "xxxx".  You must include the
  34.           ".EXE" or ".COM" extension in the program name.
  35.           (i.e. if you would normally start your editor with
  36.           "ED LETTER.DOC" use:  "EXE ED.EXE LETTER.DOC")
  37.  
  38. Example:
  39.  
  40. Consider a form named "ACCNT".  Suppose you want the person using this form to
  41. only be able to reset the form and to print the form.  Suppose further you
  42. want to define these functions as F2 and F3 respectively.  Then the first two
  43. rows should look like:
  44.     F2  Reset form (Start over)       RST
  45.     F3  Print form                    PRP
  46. The remaining 7 rows should be blank.  To assist the person using the form,
  47. you should create a help file with your editor by the name of ACCNT.HLP to
  48. explain how to use it.  This help file should be in the same directory as
  49. ACCNT.FRM.
  50.  
  51. To facilitate filling in function key descriptions, the left side fields have
  52. been defined as look-up fields.  For instance, if you place "LOD" in a left
  53. side field (leaving the cursor in that field) and press Alt-F, "Load fields
  54. from a file" will be substituted.
  55.  
  56. WARNING:  Use of this form will mean the generic help file, FMEXEC.HLP, is  no
  57. longer be accessible.  Recall that during execution pressing F1 displays a
  58. help pop-up window.  At this point you can (1) press F1 again to see the
  59. generic help file, FMEXEC.HLP, or (2) press F2 to see a form specific help
  60. file which has the same name as your form but a ".HLP" extension, or (3) any
  61. other key to resume execution.  If you redefine the function keys, Form Master
  62. assumes the generic help file no longer applies.  Therefore, after pressing F1
  63. you will have 2 choices, (1) press F1 again to see a form specific help file,
  64. or (2) any other key to resume.  If other people will be using your form you
  65. should provide a custom help file for it.
  66.  
  67. Notes:
  68.  
  69. IF YOU DO NOT WANT TO RE-DEFINE THE FUNCTION KEYS, LEAVE ALL FIELDS BLANK
  70. BEFORE EXITING THIS FORM.  Only if all fields are blank will Form Master
  71. assume that you want to use the default key definitions.  If you choose to re-
  72. define the function keys, only those functions you fill in will be possible.
  73.  
  74. Entries made on this form are not checked until form execution.  Improperly
  75. defined function keys cause an error message to be displayed when tried.
  76.  
  77.